onSourceCompleted

abstract fun onSourceCompleted(source: Source)

Called when a specific Source within a playlist has finished its playback or display duration.

This callback signifies that the active presentation of the given content item has concluded. It is typically followed by the start of the next source in the playlist, or the end of the playlist if this was the last source.

Parameters

source

The non-null Source object that has completed. Refer to the Source documentation for details on the information it provides.

See also